//
//  ImageCollectionViewCell.m
//  Cycling
//
//  Created by cjg.mini on 2023/4/23.
//

#import "ImageCollectionViewCell.h"
#import "Public.h"

@implementation ImageCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _imView.contentMode = UIViewContentModeScaleAspectFill;
    _imView.clipsToBounds = YES;

}

-(void)setImurl:(NSString *)imurl {
    _imurl = imurl;
    [self.imView sd_setImageWithURL:[NSURL URLWithString:imurl] placeholderImage:[UIImage imageNamed:@""]];
}

@end
